package l2hc.commons.net.nio.impl;

import l2hc.commons.net.nio.BasePacket;
 
public class SendMail extends BasePacket
{
	public SendMail(String accountName, String mailId, String[] args)
	{
		writeC(9);
		writeS(accountName);
		writeS(mailId);
		writeC(args.length);
		for (int i = 0; i < args.length; i++)
		{
			writeS(args[i]);
		}
	}

	public byte[] getContent()
	{
		return getBytes();
	}
}